-
Home
-
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
-
2.20.6
-
Code
-
Classes
- DatabaseModel
Total Complexity |
139 |
Dependencies |
5 |
Dependents |
0 |
Total lines |
1,146 |
Lines of code |
468 |
Logical lines of code |
253 |
Comment lines |
513 |
Methods |
65 |
Properties |
17 |
Methods 65
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
toArray() |
A |
50 |
8 |
27 |
update() |
S |
48 |
6 |
37 |
setAttributes() |
S |
56 |
6 |
18 |
create() |
S |
50 |
5 |
31 |
save() |
S |
58 |
5 |
16 |
isDirty() |
S |
59 |
5 |
15 |
getDirty() |
S |
61 |
5 |
12 |
__callStatic() |
S |
60 |
4 |
13 |
delete() |
S |
61 |
4 |
12 |
__call() |
S |
62 |
4 |
12 |
getAttribute() |
S |
62 |
4 |
12 |
setCollection() |
S |
63 |
4 |
10 |
isFillable() |
S |
63 |
4 |
10 |
find() |
S |
60 |
3 |
13 |
refresh() |
S |
62 |
3 |
12 |
setRelation() |
S |
72 |
3 |
5 |
originalIsNumericallyEquivalent() |
S |
70 |
3 |
5 |
getOriginal() |
S |
70 |
3 |
6 |
isError() |
S |
75 |
3 |
3 |
getRelationId() |
S |
74 |
2 |
4 |
fresh() |
S |
71 |
2 |
6 |
first() |
S |
72 |
2 |
5 |
get() |
S |
66 |
2 |
9 |
getQuery() |
S |
72 |
2 |
6 |
isGuarded() |
S |
74 |
2 |
4 |
__construct() |
S |
67 |
2 |
8 |
getMutator() |
S |
65 |
2 |
8 |
setAttribute() |
S |
67 |
2 |
8 |
bootModel() |
S |
69 |
2 |
7 |
fireModelEvent() |
S |
65 |
2 |
8 |
setPagination() |
S |
59 |
1 |
15 |
getMode() |
S |
82 |
1 |
3 |
jsonSerialize() |
S |
81 |
1 |
3 |
getDBInstance() |
S |
79 |
1 |
3 |
__unset() |
S |
81 |
1 |
3 |
__isset() |
S |
80 |
1 |
3 |
offsetUnset() |
S |
79 |
1 |
3 |
offsetSet() |
S |
80 |
1 |
3 |
offsetGet() |
S |
80 |
1 |
3 |
offsetExists() |
S |
79 |
1 |
3 |
__set() |
S |
80 |
1 |
3 |
__get() |
S |
80 |
1 |
3 |
syncOriginal() |
S |
77 |
1 |
4 |
getGuarded() |
S |
82 |
1 |
3 |
getCalledClassName() |
S |
68 |
1 |
7 |
boot() |
S |
89 |
1 |
2 |
hasAttribute() |
S |
79 |
1 |
3 |
registerModelEvent() |
S |
74 |
1 |
4 |
setMode() |
S |
77 |
1 |
4 |
deleting() |
S |
79 |
1 |
3 |
setIdAttribute() |
S |
79 |
1 |
3 |
paginate() |
S |
77 |
1 |
4 |
resetAttributes() |
S |
77 |
1 |
4 |
fill() |
S |
80 |
1 |
3 |
with() |
S |
74 |
1 |
4 |
deleted() |
S |
79 |
1 |
3 |
updated() |
S |
79 |
1 |
3 |
getAttributes() |
S |
77 |
1 |
3 |
updating() |
S |
79 |
1 |
3 |
created() |
S |
79 |
1 |
3 |
creating() |
S |
79 |
1 |
3 |
saved() |
S |
79 |
1 |
3 |
getFillable() |
S |
82 |
1 |
3 |
retrieved() |
S |
79 |
1 |
3 |
saving() |
S |
79 |
1 |
3 |